package com.dirven.game;

import com.dirven.game.sprite.Sprite;

public abstract class NPC extends Sprite {

	public NPC(float x, float y, String folder, String image) {
		super(x, y, Sprite.TYPE_NPC, folder, image);
	}

	
	public abstract void move();
	
	public void update() {
		
		// If game is paused don't update.
		if(DirVenGame.paused) {
			return;
		}
		
		move();
		super.update();
	}
}
